package cn.tedu.pojo.pet.dto;



import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 路西斯
 * 5\15 14:50
 */
@Data
@Accessors(chain = true)
public class PetTypeDTO implements Serializable {

    @ApiModelProperty(value = "宠物类型名",example = "猫")
    @NotNull(message ="添加宠物类型失败，必须提交类型名" )
    private String typeName;

    @ApiModelProperty(value = "是否启用",example = "1，启用")
    private Integer isDelete;
}
